public class Main {

  public static void main(String[] args) {
    System.out.println("FRIDAY".compareTo(Day.FRIDAY.name()) + "\n");

    for (Day day : Day.values()) {
      System.out.println(day.name());
    }

    System.out.println();

    Car c = Car.AUDI;
    System.out.println(c.name() + ": " + c.getPrice());

    Car c1 = Car.valueOf("MERCEDES");
    System.out.println(c1.toString());
  }

}
